package com.oa.service.user;

import com.oa.pojo.OaApproval;
import com.oa.vo.PageResult;

import java.util.List;

public interface OAService {
    List<OaApproval> getAllOA();

    List<OaApproval> getOAByUsers(Integer id);

    void submitOA(OaApproval oaApproval);

    OaApproval getOaById(Integer OAId);

    void updateOA(OaApproval oaApproval);

    void deleteOA(Integer oaId);

    List<OaApproval> getOAByAdmin(Integer adminId);

    PageResult getOAList(PageResult pageResult);

    void ApproveOA(OaApproval oaApproval);
}
